package com.sinoglobal.ningxia.utils;

import java.util.ArrayList;

import android.app.Activity;
import com.sinoglobal.ningxia.R;

/**
 * @author qiwx
 * @createdate 2014-6-13 下午4:37:16
 * @Description:  控制Activity跳转类，所有页面跳转控制        
 */
public class ActivityJumpControl {
	
	private static ActivityJumpControl mInstance=null;
	private Activity mActivity;
	private ArrayList<Activity> mArrayList;
	
	private ActivityJumpControl(Activity owner) {
		mArrayList = new ArrayList<Activity>();
		mActivity = owner;
	}

	public static ActivityJumpControl getInstance(Activity activity) {
		if (mInstance == null) {
			mInstance = new ActivityJumpControl(activity);
		} else {
			mInstance.mActivity = activity;
		}
		return mInstance;
	}
	

}
